package esmp.jtt808.model.terminal;

import common.utils.DataPackUtil;
import esmp.jtt808.model.TerminalParam;

/**
 * Created by dave on 18-7-20 下午6:37.
 */
public class TerminalParamQueryResp extends TerminalParam {
    private int platSequenceNo; // 平台消息流水号

    @Override
    public TerminalParamQueryResp decode(byte[] bytes, int start, int end) {
        platSequenceNo = DataPackUtil.readWord(bytes, start);
        super.decode(bytes, start + 2, end);
        return this;
    }

    public int getPlatSequenceNo() {
        return platSequenceNo;
    }

    public void setPlatSequenceNo(int platSequenceNo) {
        this.platSequenceNo = platSequenceNo;
    }
}
